package com.learner.dao;

import com.learner.entity.Department;

import java.util.List;
import java.util.Map;

/**
 * @Auther: qho
 * @Date: 2018/10/12 08:41
 * @Description:
 */
public interface DepartmentDao {

    public List<Department> find(Map<String, Object> map);

    public int count(Map<String, Object> map);

    public int add(Department department);

    public int update(Department department);

    public int delete(Integer id);

    public Department loadById(Integer id);
}
